home *** CD-ROM | disk | FTP | other *** search
- /======\
- | HOST | (1.7)
- \======/
-
- Marty Ross
- c/o Computing Resource Center
- 10801 National Blvd., Third Floor
- Los Angeles, CA 90064
-
- Release: 1.7, 10/18/85
- By: Marty Ross
- System: IBM-PC with standard communications adapter (COM1:)
- Requirements: Tested using PC-DOS 2.0/2.1, 128K or larger PC preferred.
-
- Abstract: HOST is a communication link which enables your PC to
- act as a 'HOST' to a local or remote terminal, provided
- that your PC is equipped with a communications port, and
- that no full screen, or cursor-oriented video display
- software is used. Any software which uses the standard
- BIOS routines for keyboard and video I/O (BASIC, therefore,
- is excluded) can be used interactively by a user connected
- via your COM1: or the COM2: adapter.
-
- Distribution: I am distributing this preliminery version freely, in hopes to
- stimulate interest and feedback. No fee may be charged for its
- distribution, and this document must accompany the programs
- documented herein.
-
- Files: HOST is distributed in at least two parts: NEW14H.COM,
- which by itself provides a powerful enhancement to the
- communication ability of the IBM-PC, and HOST.COM,
- the application component. Other optional components
- include TSHARE.COM, the background terminal emulator
- which can be used in tandem with HOST to provide an easy
- "CHAT MODE", or method of accessing your smartmodem.
- Also, WKB.COM, the window keyboard, can be used if desired.
-
- Usage: To use HOST, first make sure that NEW14H has been installed
- on the desired communication port (see NEW14H.DOC), then invoke
- the HOST command, using desired options and correct port, as in
- the following example:
-
- A>host -p 1
-
- In the above example, we want the "P" option on port 1.
-
- After HOST is active, initialize the port for the desired
- baud and parity settings using the DOS MODE command, then
- use your [PrtSc] key (you may have to hold the shift key down)
- to toggle the host online or offline. You can change the
- communication settings or HOST parameters by subsequently
- re-issuing the appropriate DOS commands.
-
- HOST options:
- K - Keyboard local only. Ignore COM line input
- P - Pass [PrtSc] key to old function.
- S - Suppress screen output from this process
- T - Toggle host online/offline
- X - Do not touch [PrtSc] key
-
- I will not go into the details of each here; however, the "P"
- option may not have an obvious effect: it causes your [PrtSc]
- key to activate not only HOST, but whatever existed as a
- function of that key before HOST was activated. For instance,
- if TSHARE (the terminal emulator) driver is installed, this
- hookup can cause both HOST and TSHARE to activate/de-activate
- complimentarily, so that the operator can easily toggle from
- online mode to terminal mode ("CHAT" mode) by pressing the
- [PrtSc] key.
-
- To refresh your memory after learning about HOST, or for
- complete syntax rules for activating HOST, type "HOST ?"
- in DOS for a help screen. The same applies to the NEW14H
- program and other related drivers.
-
- There are four steps necessary to activate HOST so that
- it may be used as a terminal emulator:
-
- 1.) Initialize DOS
- 2.) Install the NEW14H communication enhancements
- 3.) Install the HOST application component
- 4.) Initialize the COM: port for desired baud/parity
- (HOST DOES NOT DO THIS: USE DOS "MODE.COM")
-
- A typical installation sequence (which can be combined into
- a .BAT file, such as "AUTOEXEC.BAT"):
-
-
- +---------------------------------------------------------+
- | |
- (1) | <ALT>+<CTL>+<DEL> ... |
- | |
- | IBM Disk Operating System |
- | Version 2.xx ... |
- | |
- (2) | A>new14h |
- | NEW14H - 2.x - (C) Copyright 1985, by Marty Ross |
- | Auxiliary COM1: port driver active. |
- | |
- (3) | A>host |
- | HOST - 1.x - (C) Copyright 1985, by Marty Ross |
- | (Using NEW14H ver 2.x) |
- | |
- (4) | A>mode com1:300,n,8 |
- | |
- | A>rem HOST can now be activated anytime until |
- | A>rem we re-boot (CTL+ALT+DEL), by pressing |
- | A>rem '<SHIFT>+[PrtSc]', unless another program |
- | A>rem redefines our interrupts. |
- | |
- +---------------------------------------------------------+
- Figure 1.
-
- Notice that after running the HOST program, we came back to DOS.
- To activate HOST and allow the remote terminal to converse with DOS,
- you must press the <PrtSc> key (may require holding SHIFT down).
-
- You are responsible for establishing your remote connection. HOST
- will not interact with a modem in any way. If you are using a modem
- you must make it answer the phone, and you must ensure that your
- computer can detect and select the same communication settings as
- your modem is using. If you are a programmer, the NEW14H com-
- munication software (which must be active for HOST to function)
- provides you with all the necessary calls for this purpose. See
- file NEW14H.DOC for the details.
-
- Once a connection is established and HOST is online, the user on
- the remote connection should see the same things you see on your local
- PC-screen. Again however, this will cease to be the case if software
- attempts to write to the local screen using direct access or cursor
- control (such as BASIC).
-
-
- Function Keys: This version of HOST has not been made to understand the
- extended keyboard character set used on the PC. This means
- that it is impossible for the remote user to generate any of
- the special (two-character) keyboard codes, such as the F-keys
- INS, DEL, etc. Half of the responsibility for installing
- this feature lies with the terminal used to attach the remote
- user: it will need to send the same two byte code over the line
- as do the DOS keyboard calls. I plan on getting around to fixing
- this, though it's no priority since I have not found any need
- for it yet.
-
-
- Why HOST?: HOST was written because I needed a better way than PC-DOS'
- 'CTTY' command to link my PC up to a phone line in order to
- start my own Bulletin Board System (BBS). HOST gives me the
- freedom to allow remote users to access most of the system
- software and in addition, I can easily write and test my
- BBS software: it works with the normal keyboard and screen.
-
- Future Future versions of HOST will necessarily incorporate a
- Directions: auto baud rate detection. Now, the "front end" application
- program must detect and correct for baud changes, making
- a single baud rate the desirable alternative. Also, the
- handling of two byte extended keyboard character codes will
- make the link more complete. As it stands, no function keys
- can be used by the remote user.
-
- Disclaimer: Though I've tested HOST under varying conditions, I cannot
- guarantee that it will work in every case/PC configuration.
- Also, I suggest you use caution when using HOST in new
- situations (application programs, etc): I will not be liable
- for any damage caused, but would like to be informed if any
- undesireable HOST interactions occur. Please write me.
-
-
- About the Author:
-
- Marty Ross is a consultant for the Computing Resource Center,
- a data processing firm in Los Angeles. CRC uses the IBM VM/SP
- operating system to provide its clients with an interactive
- method to access popular mainframe data handling facilities,
- such as SAS, PL/1, FORTRAN, and the On-Line Data System,
- CRC's own database management product. For microcomputers,
- CRC has released a Statistics/Data Analysis and Graphics
- package for the IBM-PC called STATA, the Data Tool, which
- features standard statistical (regression) analyses, excellent
- data handling capabilities, and a wide variety of experimental
- data analysis techniques with STATA/Graphics. If you are
- interested in obtaining a DEMO copy of STATA, please call CRC
- on their toll-free number: 1-800-782-8272 outside California,
- or dial them directly at (213) 470-4341. Be sure to tell them
- that Marty sent you!
-
-
- ----------------------------
-
- [1] NEW14H, and therefore HOST will be destroyed by programs such as BASIC
- or BASICA which re-define the communication interrupt driver(s). Also,
- only "nice" programs which do not 'steal' the keyboard, video, PrtSc,
- or timer interrupts may be used successfully with HOST.
-
- [2] Perhaps it is unfortunate that HOST uses the <SHIFT>+[PrtSc] key
- thus disabling it as a "print screen" function. Remember, however;
- this is only a demonstration program and was not written with profes-
- sional intent. If enough interest is shown, future versions will
- be released to those contributing new ideas, free of charge.
-
- -----------------------------
-
- /======\
- | HOST | (1.7)
- \======/
-
- Marty Ross
- c/o Computing Resource Center
- 10801 National Blvd., Third Floor
- Los Angeles, CA 90064
-
- Release: 1.7, 10/18/85
-
-
- Comments?
- Can you use HOST?
-
-
- Name: _________________________________________________________
-
-
- Address: _________________________________________________________
-
- _________________________________________________________
-
- _________________________________________________________
-
- _________________________________________________________
-
- _________________________________________________________
-
- _________________________________________________________
-
- _________________________________________________________
-
- _________________________________________________________
-
- _________________________________________________________
-
- _________________________________________________________
-
-
- If you feel HOST contributes to your effectiveness, then please let
- me know by sending a donation of $10.00 or whatever you feel is ap-
- propriate. HOST was developed in my spare time, and is now not a
- commercial effort of CRC. I will continue to develop products like
- HOST for those who show interest - provided I can afford it. Users
- who make contributions will be entitled to a single sided diskette
- of other PC-DOS utilities I've developed while at CRC: please include
- your name and return address when sending donations!
-
- P.S. - If its the $10.00 that keeps you from filling this out, forget
- about the money, it's the feedback I really want.
-